package com.boarsoft.boar.soagov.entity;

import java.io.Serializable;

import com.boarsoft.boar.entity.AppInfo;

/**
 * 
 * @author Mac_J
 *
 */
public class AppSvc implements Serializable {
	private static final long serialVersionUID = 1L;

	public static final short STATUS_DISABLED = 0;
	public static final short STATUS_ENABLED = 1;

	/** */
	protected String id;
	/** 应用Id */
	protected String appId;
	/** 服务Id */
	protected String svcId;
	/** 是否暴露了此服务 */
	protected short status = STATUS_DISABLED;

	protected AppInfo app;
	protected SvcInfo svc;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public AppInfo getApp() {
		return app;
	}

	public void setApp(AppInfo app) {
		this.app = app;
	}

	public SvcInfo getSvc() {
		return svc;
	}

	public void setSvc(SvcInfo svc) {
		this.svc = svc;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getSvcId() {
		return svcId;
	}

	public void setSvcId(String svcId) {
		this.svcId = svcId;
	}

	public short getStatus() {
		return status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

}
